package com.net.xpay.common.manager.notify;

import com.net.xpay.common.domain.notify.ChargeRecordNotifyRecord;
import com.net.xpay.common.model.search.ChargeRecordNotifyRecordSearchModel;
import com.net.common.manager.DomainManager;

import java.time.LocalDateTime;
import java.util.List;


public interface ChargeRecordNotifyRecordManager extends DomainManager<Long, ChargeRecordNotifyRecord> {
    int deleteFinishedRecord(LocalDateTime deadline);

    List<Long> listWaitNotifyRecordIds(long limitCount);

    List<ChargeRecordNotifyRecord> search(ChargeRecordNotifyRecordSearchModel searchModel);

    long searchCount(ChargeRecordNotifyRecordSearchModel searchModel);
}
